package tabuInterface.algorithm.tabuLogic;

import java.util.LinkedList;

public class TabuLogicList {
    private LinkedList<TabuLogic> data=new LinkedList<TabuLogic>();

    public void append(TabuLogic tl){
        data.add(tl);
    }

    public boolean exec(){
        for (TabuLogic tl:data) {
            if (!tl.exec())
                return false;
        }
        return true;
    }

}
